BOS optimization