rename freeblocks variable and fix retrun value of reclaim_segments
function