Atomistic modeling of multimillion atom nanostructures