if ``dm_f`` is advanced along a single time prior to the forloop, this if statement isn't necessary and simplifies the contained code.