reworked curves and calculation approximation