Building mechanism for automatic KS replication factor incrementation