optimizations to readRawBlocksInFile, maybe now 10% faster when catching up