use immutable type for GMMMap paramteres. I hope this change improve performanance and readability.