untested slice + minlen support