make sampler 2d