Ah! great! I was thinking of a way in which I could get all bits 1 while initialising.
When I couldn't think of a way I did this 'set(i)'.
setting an unsigned int to negative value solves this :)