LHS-like sampler working