update on the static detection

fixed a bug due to not using absolute values. Secondly introduced a max waiting time, due to the fact that birds can fall of the map and never lose speed.