WIP, optimizer infinitely looping over the space