compress: add leads and subs to used hash