A least squares-based method for adjusting the boundaries of area objects