WIP Platform generation algorithm