Fixed bug 349. The file made with the -vis option has the length the user