comm.hpp:
  sendrecv impl updated
  send msg sz to avoid size problem in recv

scheduler.hpp:
  exchange function finished, tested