Optimizes distribution of sprites