Started routing algorithm