semiperimeters