adjust parameters and improve map gen