8   for (
int x=0; x<9; ++x) {
 
    9     for (
int old_x=0; old_x<10; ++old_x) {
 
   11         for (
int p=0; p<8; ++p) 
 
   12           push_back(
new RelativeKingX(x, old_x, a, static_cast<Ptype>(s)));
 
   21   for (
int y=-8; y<9; ++y) {
 
   22     for (
int old_y=-8; old_y<10; ++old_y) {
 
   24         for (
int p=0; p<8; ++p) 
 
   25           push_back(
new RelativeKingY(y, old_y, a, static_cast<Ptype>(s)));
 
   33   for (
int x=1; x<=5; ++x) {
 
   35       for (
int p=0; p<8; ++p)   
 
   36         push_back(
new SquareX(x, static_cast<Ptype>(s), 
false));
 
   39       for (
int p=0; p<8; ++p)   
 
   40         push_back(
new SquareX(x, static_cast<Ptype>(s), 
false));
 
   41       for (
int p=0; p<8; ++p)   
 
   42         push_back(
new SquareX(x, static_cast<Ptype>(s), 
true));
 
   49   for (
int y=1; y<=9; ++y) {
 
   51       for (
int p=0; p<8; ++p)   
 
   52         push_back(
new SquareY(y, static_cast<Ptype>(s), 
false));
 
   55       for (
int p=0; p<8; ++p)   
 
   56         push_back(
new SquareY(y, static_cast<Ptype>(s), 
false));
 
   57       for (
int p=0; p<8; ++p)   
 
   58         push_back(
new SquareY(y, static_cast<Ptype>(s), 
true));