Add function to get tiles within bounds