Able to read 64*64, 128*128, 192*192, 256*256 and 320*320 maps. Yet when I try to read a 1000*1000 one I crash out with an end of stream