update for bale wrapper
performance update for raycast callback