Didn't we cover this basic concept to death in another of your threads? It's a matter of setting bits in a variable, which is a mundane and ages old non-problem.
May I ask (actually anybody would ask) why you can't just place the bits consecutively, like
......000000000000000000011111111