Added setBitsAtOffset