Just to add, it is possible to gain weight while doing intermittent fasting. You just have to eat more :) Maybe add a meal so you don't eat 3x a day but 4x. The other tactics is to add 50g of some nuts to 2-3 meals a day, like walnuts, almonds, cashews...