Mechanism of peanut production on small farms