vector(1<<#S,i,vecextract(S,i-1))