tweaks to encap_bchk