Determination of safe mud pressure window for different well trajectories and stress regimes during drilling operations