nan support
2.3.1
revert bad bound computation