implemented projective structure generation up to borders