make the ending and starting dates match the actual bounds of the data