[PLAT-6858] Revert changes in polynomial function