SSIP: considering neighbouring vertices first