GSS: add isFrontier(), make next private