crude implementation for drawing the next piece container