completed coding park of worst case benefit approximation