bugfix for area-graph getting slower