Fix cache size issue and bump version to 0.1.8