Matrix autoresizing background