hack max bc gen into random attacks.