get boxes in quad format