Changed populateHeightField to use the origin and interval values from the key instead of the HeightField.