Added unit case to check area of rectangle