drawing also ends of rows