Abstract out the interface of RasterMask to allow for other kinds of discontinuous tile ranges

...king approaches