Make local mass matrix const to help the optimizer