squares with orientation