Changed Data.IntMap.Strict to Data.IntMap.Lazy