mildly correct area calculation