Made cache sizes configurable (-> Version 1.10)