Added buffer size for receiver as configuration parameter.