Add sanity check for gamma