first implementation for depth of replication

first implementation for depth of replication for nodes