remove dependence on InputReader framework, not fast, memory efficient enough for 10M row zonemaps