Fix insets

I put a TODO here since this is function we'll want to make work or get rid of in the next pull request.