Height map construction