calculate movement in dead-end -- first draft