Stake a line and segment of a line