fixed possible generated tiles range