Implemented raw masking of heightmap