insert binary and compacted