New ground generation algorithm (not complete)
Modified makefile to allow more than 2GB RAM usage