getting closer on dynamic slice boundaries but not quite