On a theorem of Besicovitch and a problem in ergodic theory