reduce gem