Completion Length Optimization in Gas Wells