public List<Connection> getConnectionsForRefactor(Neuron neuron, Integer start, boolean aSide)
	{
		List<Connection> result = new ArrayList<Connection>();
		for (Connection c : connPool.values())
		{
			if(aSide)
			{
				if (c.getAID().equals(neuron.getID()))
				{
					if(c.chechASide(start))
						result.add(c);
				}
			}
			else
			{
				if (c.getZID().equals(neuron.getID()))
				{
					if (c.chechZSide(start))
						result.add(c);
				}
			}
		}
		return result;
	}