I think I found a "stupid" way of achieving the result, defining a pattern from the b/w image of the heightmap, and then using the filler tool on the level mask. 5000*3181px, what a beast of a pattern...