An Efficient Acyclic Contact Planner for Multiped Robots