Locality Preservation Under Constraint: A Comparison of Hilbert and Z-Order Curves for Partial Range Queries in Small to Medium Grids | Synapse