An automation on terrain tile making