optimize a few more variations of successive text lines