edge aligning and painting are moved to line handler classes