Moved GetPoints function to companion object within Block class.