Closed-loop multi-step planning with innate physics knowledge