improve ArrayBasedModel (lil) creation

Now only ~ 5% slower than master instead of ~ 100%