Distance parallelization debugged