Changed formula for keys saved, did more experiments