Fixed CREATE, using mesh function only while generating random samples