add synchronization primitive to avoid race conditions for container and object range selector