lazy mode in package scanning - narrow the scope to optimize speed