trimming figures