Put back algorithm that that was removed by accident.

Refs #9671
Merge branch 'feature/9671_TEST_Facility' into develop