From Memory/Eexcution Trace to GPU Code Using Nested Loop Reconstruction Tool