added optional finite vertical resolution (and command-line options)