Use 0-based indices. Test FMT_FOR_EACH*.