An effective numerical method of the word-lifting technique in one-dimensional multimodal maps