A polynomial fin profile optimization