+ add center algorithm