inside cylinder PBC test added