added scaling to hierarchy.