Find Upper And Lower Limit