Use MY_MIN instead of min, downgrade from gamma to alpha