	coordsw -= 1;
	if((coordsw != 0) && ( coordsw != 1))
	   printf("acc_trans, coordsw not equal to 0 or 1\n");
