changes in algo for session duration of multiple programs