calc interest from previous blocks stakeweight