how does this work? i want to calculate my products based on length, but how do i go about to do this?