Same comment as for the tile priority function.