Can I set a non-power-of-2 sized heightmap to terrain?

I’m trying to set a 100x100 sample heightmap to terrain data via script. The result is a bit ‘compressed’ I found if I set 128 samples, the size is right. But I’m hoping there is some API or field I can set to ‘stretch’ those heights, or in some way make this fit, without having to re-sample the heights.

The heightmap size must be power of two plus one. So 65x65, 129x129, 257x257, etc. There is no way to change this.