The sumhsps loop is fixed.