Restarted area calculation with return function