Adding Hilbert curve