add compression back; make page size configurable; rename children_count to num_children