fixed graph length and path