The the attached does not create ToS. PLease review SAP algorithm https://drive.google.com/file/d/1hX5W2OoBboJeabwyCJK7pVOgVXf-Yy9N/view?usp=sharing