store thread identifiers in block headers