painful dp Search, page 123