refactor and fix map chunk bulk parsing