Record edges in BSTNode