compute input mega blocks

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