You should use 
explicit BitSet(int size)

Ref
http://stackoverflow.com/questions/121162/what-does-the-explicit-keyword-in-c-mean