Either fixed the sumhsps loop or at least made some progress