removed codes for the occluded space test.