UVa 10731 Bug fix - low should be computed with edges in stack