Numerical analysis of bariatric configurations after endoscopic surgery