issue 18 added support for arbitrary sub-second lengths