The linear density of a thin bar with length l b and mass m b varies with position in accordance with the function λ(y) = ay 3, where y is the distance in meters from one end of the bar and an is a constant. Determine the relationship between the constant a and the bar's mass and length.