Fix skipped division by two in calculating the area