do not use -m64.
bit array - my own implementation.