Fix spatial decompose problem in spatialDecompose_mpi.f90

* Samples with distance larger than half boxLength should be ignored
Modification based on spatialDecompose.f90 fixed previously