Extracted rectangle logic into separate class. (NOTE: Rectangles don't have borders)