Resolving power and the maximum distance of stars