chunk map block allocator fixes and formatting function