Shape in generic box query