Finished implementing used bit scheme