add optimization,when reading current data block, also read next block's head, reduce block read requests.
fix bug in GetLongInt
fix bug