const Block::Endpoint &ep = link->get_endpoints()[entry];
const Endpoint &track_ep = ep.track->get_type().get_endpoints()[ep.track_ep];
const Block::Endpoint &ep = link->get_endpoints()[entry];
const Endpoint &track_ep = ep.track->get_type().get_endpoints()[ep.track_ep];