Change constructor to also take a range.
Added toRange method to return a compressed range instead of all code points.
Annoted struct members.