The key is to dice the potatoes uniformly and keep an eye on them while boiling. They should be tender enough to pierce with a fork but not so soft that they fall apart. Draining them immediately and letting them cool will stop the cooking process.