reworked fast_edit_packet() to match speed of early prototype - for #19