code: private void finalizeRecord() {
  		myPage.setVal(currentPos, new IntegerConstant(getLastRecordPosition()));
  		setPreviousNextRecordPosition(currentPos + pointerSize);
  		setLastRecordPosition(currentPos);
  		currentPos += pointerSize;
  		setNextRecordPosition(currentPos);
  
  		// leave for next pointer
  		currentPos += pointerSize;
  	}
docs: Sets up a circular chain of pointers to the records in the page. There is
  an integer added to the end of each log record whose value is the offset
  of the previous log record. The first four bytes of the page contain an
  integer whose value is the offset of the integer for the last log record
  in the page.