add longest square length