A fast and efficient picking algorithm for earthquake early warning application based on the variance piecewise constant models