Add minfinity and fix memory bug