datastreams: implement moving the import range down until the limit is reached

Change-Id: Iaaed4399a980697c37683d838fcb1f99208233e8