weight-gain post fast depends entirely on your diet.
Many people return to their old ways of eating and hey-presto they gain more weight than before the fast.
There is a very easy solution.
Stick to a low-calorie but nutrient-dense diet. In this way you can eat as much as you like (within the confines of appetite/hunger) regain and maintain your ideal weight.