add stop type flags: isEndPoint and isBranchPoint