session: fix bandwidth calculation