Benchmark and Fix

An alternate raycasting method (_b version) is added and can be adopted
at any time