logic polishing