fixed incorrect cfa flatArea calculation