Fix out of bounds bug in bit extraction...