Sample Size Determination Algorithm for fingerprint-based indoor localization systems