Removed unused blockOffset.