changed bcube generator