New version to implement without level limitations. By defining square with two double-coordinates points.