Fully polynomial approximation scheme