Simple PrioritizeContributeAlgorithm implemented and restructured