Fixed BitSet.length() issue by passing an additional length parameter.