adjusted min calculation