fixd threadsaveness of mc_create_smalest