Change vmac bit allocation, hack vm_id generation