added building line segments