The NDL is a good point, I haven't had a problem with this, as gas has always run out early.
A more realistic profile than a square, might be:
30m for 10mins, 25m for 10 mins, 20m for 20mins, + safety stop, gives a 50min dive, which does not exceed NDL.
My dive planning software puts me at...