Even more improoved snake-drawing algorithm