Parser Optimization - removing clones using alternative logic