minor improvement with atom number filter