Scaling analysis for a chain molecule in shear flow by molecular dynamics simulation