public void free(long pos,int length){
  int start=getBlock(pos);
  int blocks=getBlockCount(length);
  set.clear(start,start + blocks);
}

public void free ( long pos , int length ) { int start = getBlock ( pos ) ; int blocks = getBlockCount ( length ) ; set . clear ( start , start + blocks ) ; }
mark the space as free .
