factorials in dic are too slow.