SampleFilter now takes samples from a 2D rectangular region