[polyml] determining link options