handling scale for nodes