Reliable version of relative hull algorithm.