Added unchecked gem swapping