Revert "better implementation of the rotated cell"

This reverts commit 76de65766f6e169d2241ac8248cbd3563bfab75d.