One-way Functions and Partial MCSP