Removing Hilbert curve