Ray/Box intersection now takes in consideration the ray's length