Revert "initialization of difficulty and weight, calculation of quantities based on weight instead of priority alone"

This reverts commit e190615277dfbb8bf84080f791b1973ff9581c4a.