segment lengths and variables