Energy-based optimal step planning for humanoids | Synapse