What about this optimization of drawing boxes with 4 lines of 4 vertices each instead of 12 lines of 2 vertices each?