if a user registers, he has a referer. a referer can only get two direct down-lines. a user must have six down-lines to complete stage one. a registered user is related to one direct up-line. how do we get all down-lines that are not directly under a user but related to the user.
d,f, e, g are not directly related to a but are related because the are related to the children of a which is b and c
the problem is how to know that d,f,e, g are also down-lines of a even though they are not direct