Refactored the bitstring generator in lib/helpers/espacing too hastly