I got the idea from @Blazin_twitch I did not use any of his code though. The terrain always starts at the bottom left corner.