fixing the distribution and setting some important params for the flows