Changes to insert and generalization of build byte array