limiting the number of days
dd = 2 # because I need p_{mj}(1) and p_{mj}(2)