[LFC][IFC] Add line logical top and bottom