Implement size extraction and make sketch align in center.