Sorry for the late reply I got a little bit busy.
This should do the trick.
1st you’ll need a clamped mask texture.
http://i.imgur.com/ikTOqZgb.png
Changing the mask scale parameter from 0 (no scaling) to negative numbers to shrink and positive numbers to stretch.