A comprehensive approach to intergovernmental grants’ tactical allocation. Theory and estimation guidelines