fix overflow issue in matrix44