public void build(AssemblyType type) {
		Mass one;
		Mass two;
		double restLength;
		double constant;
		NodeList nodes = myDoc.getElementsByTagName(SPRING);
		for (int i = 0; i < nodes.getLength(); i++) {
			restLength = -1;
			constant = 1;
			Node springItem = nodes.item(i);
			NamedNodeMap nodeMap = springItem.getAttributes();
			one = myMassMap.get(nodeMap.getNamedItem(A).getNodeValue());
			two = myMassMap.get(nodeMap.getNamedItem(B).getNodeValue());
			getNodeMapItems(0, restLength, constant, nodeMap, REST, CONST);
			if (restLength == -1) {
				//make
				AssemblyFactory.buildAssembly(type).make();
			} else {
				//makefull
				AssemblyFactory.buildAssembly(type).makeFull();
			}
		}
	}