I rewrite PDistr and BDistr in order to make
use of program easier without any additional text files