generalize tiles