Naive implementation of the center