modified from char to long...but mpi-3 performance is still appalling