Investigation of reshaping and nanocluster formation in gold nanostars