def _is_point_in_volume_interior(x: int, y: int, z: int, v_size: int) -> bool:
    """Returns True if the point is not on the volume's frontier."""
    for dim in [x, y, z]:
        if dim in [0, v_size-1]:
            return False
    return True