Added grow and shrink method to mask interface