some optimizations related to removing number from the Nodes.