backward add element in bottom line and upward in left line