optimization for compiling symbol