i didnt gain much fat at all on my last cycle...and heres what i did..

Ate protein with carbs, and left fat out...
When i ate fats i also ate protein ad left carbs out...

Pretty simple rule of the "dieting thumb" and it worked for me...but your body will be different so just experiemnt...or keep it clean