Made the occulsion check happen only every 6 timesteps