implement auto trim for splines