String markers2string(Markers markers) {
		StringBuilder sb = new StringBuilder();

		int prevEnd = -1;
		markers.sort(false, false);
		for (Marker m : markers) {
			if (prevEnd >= 0) {
				for (int i = prevEnd; i < m.getStart(); i++)
					sb.append('-');
			}

			for (int i = m.getStart(); i <= m.getEnd(); i++)
				sb.append('M');

			prevEnd = m.getEnd() + 1;
		}

		return sb.toString();
	}