Some byte code optimization