optimize get_session_list call
update get_session_list for future optimizations
optimize add_totals_to_distribution