try it in openscad - made for boxes.

Also makes it easy to slope the inside of the lid, so it starts out easy to fit then get's tight as you push down.