Removing redundant overflow