compute enemy corners