Working fog of war - optimalization