added SpheresInRoom and SpheresInSpace for benchmark