Scotty once said " i know the limits of this - i know what the instructions are - I wrote them "
It was the episode "The Dysonsphere TNG" he said those vise words to Georgi.
Remembers his words when you study the technology - Scotty was there in the egining.