There's still a bug in makeIDX(samples).