Calculate Upper And Lower Bounds