CLN: move nat compare to only call when needed