added definitions SIZE_OF_DATA_EXCHANGE and QUANTITY_OF_DATA_EXCHANGE as tunable parameters