Implemented rectangle processor