create a box with a custom shape