modified _lca and updating the referencing node math probably halfway there