Better autoscale behaviour

Improved auto scaling threshold implementation.