Dense and sparse window attention