blocks: added callback functions set_ink and set_outl to repack_bits