added possibility to scale input candidates