assign step 0 when there is only one frame