Updated Trim method (min)