use a lazy map

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