pre scales to code size