new bug fix when colineariy between slab normal and ray vector