Add dyadmino resize functionality.