ENH: changes statis subtable_idx to literals