Optimization of Wellbore Strengthening Treatment in Permeable Formations