Removed unnecessary spec
Use @@infinite variable to set the infinite distance value