implement queue loading up to limit with pops during runtime