Improving SetAndGetHeightMap