remove debug, minimize code size