Calculation of end position of cluster was fixed.
Json: fixed map management