b[i[i[[c[ir]]]]]