Fixed bug in staircase_from_line