maturing algorithm