Relativity

Why must an observer record the positions of both ends of a moving rod simultaneously to measure its length?