Now finished with finding initial rectangle.