const instead of +inf