Fix bug in function IsShiftedMask. Remove parameter SizeInBits, which is not