Updated max and min length for trim

Please review and update tent and scicustomer