Fifty-seven patients with T2DM and BMI 30 to 35 , who otherwise met the criteria for bariatric surgery were randomized to MWM versus surgery ( bypass , sleeve or band , based on patient preference ) .