 Stanley Kubrick (qv) and producer James B. Harris (qv) first  attempted to produce the movie around New York, where they lived,  but after failing to find an East Coast racetrack that would allow  the crime to be filmed there, they moved to Los Angeles.