bette the fix for zero length ray cast

the broadphase was termination if param became 1.0e-3 which may be too
big for very long rays, changed to 1.0e8