Random generation sould be OK. Need reviewing cc @alexandre609