Moved bubble diameter to const for easy change.
Refactored ContainsKey calls to ensure indexing will not be attemped with key DNE.