limitations for now:
1. The input with a range is not supported yet.
2. More than one completion for a segment is not supported yet.
3. Calculating distance based on thickness of grid block is not supported yet.
4. Calculting completion depth based on COMPDAT is not supported yet.