Added slices to document.
This feature allows to clamp the time range in the document.