Sum up areas instead of storing array