consolidated victoryShape logic