optimized heap extraction, added proper station name extraction