limitation of blocklength to prevent buffer from running empty