main: decrease min buffer length