Length is one dimensional whereas weight which depends on volume is three dimensional. Hence, there is thinking that weight of a fish is proportional to cube of the length of the fish. That is, there exists cubic relationship between weight and length of a fish. For an ideal fish which maintains the same shape b=3.