reduce the size of the gem