Created command checkview for displaying shapes.
Update first and last parameters of intervals, because they should be at same period like other values.