I don't know how to get the previous version back. I think it was closer to the idea than the current version.
I've included snapshots of what I meant.
Set up 1: At the highest 'k', the block rises to the highest point on the ramp (no friction).
Set up 2: At a different setting for 'k', the block rises to a different point on the ramp but not the highest (no friction).
These two setting can be the basis of the design.