Convert Range to struct