Add infinity as a dependency