always compute min/maxScales and set them in the layer config