Text this: The Optimization Algorithm for Large-Scale In Situ Stress Field