Smoother drawing by thread segmentation