def METHOD_NAME(durations: Dict[str, float]) -> str:
    """
    Returns time elapsed during each stage or step of the fud execution.
    """
    def name_and_space(s: str) -> str:
        # Return a string containing `s` followed by max(32 - len(s), 1) spaces.
        return "".join((s, max(32 - len(s), 1) * " "))
    return f"{name_and_space('step')}elapsed time (s)\n" + "\n".join(
        f"{name_and_space(p)}{round(t, 3)}" for p, t in durations.items()
    )