An Efficient Preprocessing on the One-dimensional Real-scale Pattern Matching Problem