Fixed the pivot points and removed the hardcoded part that specified the next block to get generated