An analytical method for determining horizontal stress bounds from wellbore data