adaptive simpson ray cast