energy and length