https://image3.slideserve.com/5617054/painter-s-algorithm2-t.jpg