add bit position in java src