Added collecting from nearest, optimized collecting