Simple autorange now decently working