Fixed memory leak
Boxbody can be rectangular