"Clumping" wall texture algorithm

Chooses wall textures as rectangular regions of the same texture, then
fills the gaps with another texture.
Useful for Old Aperture, Art styles.