added param for jump detection sphere radius
merged changes