better heuristics for pre-allocated memory in morton builder