trimming rom file to 256