TakeNBitsFrom () docs and regtests