Determined procedure for finding b & r