Closure check

[Done]
 - initial square closure now working
[ToDo]
 - width/height adjustment