Why can limits be nan? It's simply user input.