changed velocity position threshold to be based on particle radius rather than hardcoded threshold.