AM: use conservative flags
AM: make compiler happy, theta is undefined in this case