Just a guess, but it would seem to me that you can't actually set the buffer length to some random value.