brought back area_t definition, added sq_coord_t type, avoided DBL_MAX dependance