I wonder whether you were in an area of airspace where the minimum required separation was 1,000 feet vertically. That's about 1/5 mile. Horizontally (between aircraft at the same altitude or level) typical requirements are typically 3 miles or 5 miles when under radar control.