Minor refactoring of PackAlgos to make variable names a bit clearer