Use is_inside instead of parts[part].inside
Clean up failed amend (I can't into git)