Add a typedef between std::pair<int, int> and position.