compute in batches and make trail time dependend