st/nine: Bound the dirty regions to resource size