Nutrition and weight regulation is not as simple as a direct function of calorie intake. The storage of fat in our bodies does not follow the "laws of physics" like someone down in the comments mentioned. This field is actively being studied (and heavily lobbied/backed by some food companies).
I'm glad this strategy worked for you, but I hope people don't take this as advice that is easily generalized.
I'm glad this strategy worked for you, but I hope people don't take this as advice that is easily generalized.