Re-enable dreduce if shapes are enabled