Added configurable scale up/down parameters.