replace ntop usage by ntail and nhead
use friendly named constants instead of hard coded integers to access tree slots
normalize nomenclature, pass from r,l to 0,1 to reference nodes subtrees
move the number of element for some node from the parent to the node
remove max and min slots