I somras var Andreas Almgren blott två hundradelar från att nå VM-finalen på 5 000 meter i Budapest.