Adding preset resize restrictions

Fixes #31