Topological quantum gate construction by iterative pseudo-group construction