Menu bar code optimization