Improved spawn formula