correct position of the CRC depending on size of the available flash memory