Removed extra bit from end of q