Some mods to SquareLineTree