metric algorithms — KazNU