Fixed pso dist bounds error