bs function

Return indexes for an exact number of blocks for a raster