Modified to calc center point for each area