[Add] Direct collision search now works with periodic boundary conditions.