First pass at making zonedata more mem. efficient