impose constraint according to http://dlmf.nist.gov/18.3#T1