this is exactly what you can do with reference node filter - set a node and then add filter "hops to reference node"