Describe the bug
Changes to the arguments xsize and ysize are not reflected
Expected behavior
surface size should be changed as input value
Screenshots
xsize = 10000, ysize = 10000

xsize = 1, ysize = 1

Desktop (please complete the following information):
- OS: Win
- Python version: 3.11.4
- Python package manager: conda