block: addeds callback functions set_ink and set_outl to repack_bits