Fixed bug where some equipotential curves were terminating early