Moved tween length to the class definition