fix quality on logo, pseudocoded heuristic check