trimming deps