 # Format a number of seconds into appropriate time units. e.g. smartTime(3600) === '1h'
 smartTime = _smartUnits(
     [31556952, 604800, 86400, 3600, 60, 1, 1e-3, 1e-6, 1e-9, 1e-12]
-    ['y', 'w', 'd', 'h', 'm', 's', 'ms', 'μs', 'ns', 'ps', '']
-    [2, 2, 2, 2, 2, 2, 3])
+    ['y', 'w', 'd', 'h', 'm', 's', 'ms', 'μs', 'ns', 'ps', 's']
+    [2, 2, 2, 2, 2, 3])
 
 # Format a fraction number into a percentage. e.g. smartPercent(0.1) === '10.0%'
 smartPercent = (v) -> ((v * 100).toPrecision(3) + "%")

    active_count = 0 # number of active frames in active_stack
    mergeable_frames = [] # finished frames waiting to be merged
    drawn_frames = []

    _drawFrame = (frame) ->
        x = WIDTH * frame.left
        y = HEIGHT - (frame.top + 1) * FRAME_STRIDE

        if y < HEADER_HEIGHT
            return

        width = WIDTH * (frame.right - frame.left)
        height = FRAME_HEIGHT

            frame.labels = {}
            frame.labels[frame.label] = 1
            # replace previous unmerged frame
            mergeable_frames[frame.top] = frame
            continue

        # draw now
