The number of allowed errors is now correctly considered when calculating overlapping areas.