Hilbert curves for computation