Something wrong with statistics, but simulation works now.