trim throws a warning if the resulting AbstractMassObject contains no data anymore