move points logic into its own module and make series verify points are sorted