fit tiles into possition