separated prop.df maker and nTime maker into two different functions because of memory problems.