Commented out slow nucleus layering algorithm.