reverted to old operator apply algorithm that is faster and more accurate