remove a reundant MIN(), and reduce the buffer. We really don't need 16k for this...