pack actor numbers in buffer

Link: https://github.com/GeneAssembly/biosal/issues/27
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>