Trim down highest bit function a little.