Reduce flash memory size