Add the same idx and igenerators as in ITK