Don't include frozen parts in energy calculations