speed up tile generation
merge