correct int representation of BitArray
fix comments. but not done yet.