Variable spatial selection with two stages of migrations and comparisons between different timings