changed default 'inf' parameter from 1.e15 to 1.e8