Why ignore the length? You just recalculate it again down below.