sankakucomplex_spec: add safe length