Plateau changed now it will take upper right coordinate as parameter