This thread has been very helpful.
I had been experimenting with spikes a couple of weeks ago, I arrived at them by a slightly different method but gave up because of the cut off tops.

I was working with very tall slander spears so there are quite a few of these I didn't know about the crop solution.
I was using powers and getting results similar to volker's double squared example.
I have now worked through all the versions posted here and am now off to resurrect my version and see if I can adapt the masking technique to work with my spikes.
If I can get it to work I will add an example here. There may be some use in having a slightly different approach to the problem.
I can see that that little group of nodes that returns a clamped value back to a 0-1 spread is going to become a must have clip.