updated demand with big_d