alter detection of platforms so that obscured edges are not counted