Search for mp_position in right place. Use find() to avoid repetitions.