The best way to collect studs fast is to have collected the first 5 red bricks.
Collect these in order to be most efficient and activate them in the menu immediately upon collection to rake in the studs faster (the bricks themselves will cost a ton but are worth it)
When all 5 are activated it should be pretty simple to stack up those studs.