removed expensive offline packets calculation