List<double> distances(List<Alignment> anchors, Size size) { return anchors.map((a) => a.alongSize(size).distanceTo(alongSize(size))).toList(); }