Optimize obselete long conversions