explain shapes from ref boxes