Energy-Inspired Molecular Confirmation Optimization