add immutablestack to api with the intention of removeing parentKeySide from node