Given an optional grid size or perhaps a collection of custom snap points constrain the resize on a space to these points.