New algorithm to generate appropriate bitstrings containing all key coordinates