js solve
rounded distance