added check on max distance which bullet are flew